package com.ruoyi;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * 启动程序
 * 
 * @author ruoyi
 */
@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class })
@EnableSwagger2
@EnableFeignClients //开启feign
@EnableWebMvc
public class RuoYiApplication
{
    public static void main(String[] args)
    {
        // System.setProperty("spring.devtools.restart.enabled", "false");
        SpringApplication.run(RuoYiApplication.class, args);
        System.out.println("(♥◠‿◠)ﾉﾞ  项目启动成功   ლ(´ڡ`ლ)ﾞ ##         #     #          #     #      \n" +
                "      ##             ##               ##   ###         ## #  ##     \n" +
                "      ##             ##   #    #      ##   ##   #      ## ## ##     \n" +
                "      ##   #         ## # #######  ####### #######    ##  ## ## #   \n" +
                "  ###########     ##########  ##     ##   #    ##     #   ########  \n" +
                "      ##  ##        ## ## ##  ##     #   #  #  #     ### ##  ##     \n" +
                "      ##  ##        ## ## ##  ##    ####    ###      ### #   ##     \n" +
                "      ##  ##        ## ## ##  ##    # ##    ##      # ###    ##     \n" +
                "      ##  ##        #  #  ##  ##   #######  ##        ##     ##  #  \n" +
                "     ##   ##       ## ##  ##  ##      ##    ##        ## ########## \n" +
                "     ##   ##        ###   ##  ##      ###  ####       ##     ##     \n" +
                "    ##    ##         ###  ##  ##   #####   ## #       ##     ##     \n" +
                "    ##    ##  #     ## ## ######   ## ##  ##  ##      ##     ##     \n" +
                "   ##     ##  #    ##   ####  ##      ## ##    ##     ##     ##     \n" +
                "  ##      ######   #    # #   #       ## #     ###    ##     ##     \n" +
                " #         ####   #                   #         #     #      #      \n");
    }

}
